@import 'common';

header {
	position: relative;
  box-sizing: border-box;
  text-align: center;
  background: #6BB3FB;
  font-size: 28px;
  height: 60px;
  padding: 10px 0 7px;
  button.history, button.login, button.logout {
  	position: absolute;
    color: white;
    background: #6BB3FB;
    border: 2px solid #ffffff;
    height: 40px;
    width: 120px;
    border-radius: 5px;
    font-size: 15px;
    right: 15px;
  }
  button.history {
  	left: 15px;
  	a { color: white; }
  }
  .logoutpage {
    position: absolute;
    right: 18px;
    font-size: 14px;
    color: white;
    height: 60px;
    top: 0px;
    line-height: 60px;
    display: none;
    span{ margin-right: 10px; }
    a{ text-decoration: underline; }
  }
  .loginpage {
  	position: absolute;
    top: 200px;
    background: white;
    width: 80%;
    margin-left: 10%;
    box-shadow: 0 0 18px #c2c2cc;
    border: 1px solid #c4c4cc;
    border-radius: 5px;
    display: none;
    z-index: 2;
    span {
	    font-size: 18px;
	    display: inline-block;
	    width: 20%;
	    height: 30px;
	    line-height: 30px;
	    color: #626266;
   	}
   	input {
			display: inline-block;
	    width: 75%;
	    border: 1px solid #c4c4cc;
	    border-radius: 3px;
	    box-sizing: border-box;
	    height: 35px;
	    font-size: 16px;
	    margin: 10px 0px;
	    margin-right: 5%;
	    padding-left: 10px;
   	}
   	input:first-of-type { margin-top: 20px; }
   	p {
			color: #de332c;
	    font-size: 16px;   	
   	}
   	button {
	    width: 40%;
	    height: 40px;
	    font-size: 16px;
	    border-radius: 5px;
	    border: none;
	    margin: 15px 2%;
   	}
   	button.loginbtn { 
	   	background: #6BB3FB; 
	   	color: white;
   	}
   	button.canclebtn{ 
   		background: white; 
   		color: #626266; 
   		border: 2px solid #c4c4cc;
   	}
 	}
}

.tool {
  position: relative;
  padding: 10px 14px;
  background-color: #fff;
  input {
    height: 38px;
    width: 100%;
    border: 1px solid #ddd;
    font-size: 20px;
    padding: 4px 12px 4px 70px;
    box-sizing: border-box;
    border-radius: 4px;
    color: #2c3e50;
    box-shadow: none;
    -webkit-appearance: none; 
  }
  input::-webkit-input-placeholder {
      font-size: 15px;
      line-height: 26px;
      vertical-align: middle;
      padding-left: 4px; 
  }
  select {
    position: absolute;
    width: 60px;
    border: 1px solid #ddd;
    height: 38px;
    font-size: 13px;
    outline: none;
    top: 10px;
    left: 14px; 
  }
}

.usertip {
  color: #6bb1fc;
  font-size: 20px;
  h1{
  	color: #2c3e50;
    padding-left: 14px;
  }
	.tip{
		position: absolute;
    border-radius: 5px;
    border: 2px solid white;
    color: white;
    background: #FFC437;
    padding: 10px;
    font-size: medium;
    width: 60%;
    left: 20%;
    display: none;
   }
}    

.class {
	  border-radius: 4px;
	  box-sizing: border-box;
	  background-color: #F8F8F8;
	  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.125);
	  margin: 14px; 
	  h2 {
	    padding: 10px 8px;
	    color: #2c3e50;
	    font-weight: 600;
	    font-size: 20px;
	    border-bottom: 1px solid #ddd; 
	  }
	  ul li {
	    padding: 25px 0 10px 0;
	    border-bottom: 1px dashed #E6E6E6;
	    position: relative; 
	  }
	  ul li:after {
	      content: " ";
	      visibility: hidden;
	      display: block;
	      height: 0;
	      clear: both; 
	  }
    ul li .class-nth {
      position: absolute;
      top: 5px;
      left: 0;
      border-right: 2px solid #ddd;
      width: 22px;
      display: block;
      height: 20px;
      text-align: center;
      color: #295162;
      line-height: 20px; 
    }
    ul li .class-name {
      color: #295162;
      font-size: 16px;
      padding: 6px 8px 12px 4px;
      font-weight: bold;
      font-size: 21px;
    }
    ul li .class-label {
      font-size: 17px;
      color: #9e9ea9;
      padding: 2px 8px; 
    }
    ul li .class-bold {
      font-weight: 500; 
    }
    ul li .class-posi {
      display: block;
      color: #295162;
      margin-top: 2px; 
    }
	  ul li.cpd-true {
	    background-color: #eee;
	    border-bottom-color: #9e9ea9;
	    color: #9e9ea9; 
	  }
		ul li.cpd-true p { color: #9e9ea9; }
	  ul li.cpd-true .class-posi { color: #9e9ea9; }
	  ul li.cpd-true:last-child {	border-bottom-color: #E6E6E6; }
	  ul li.cpd-on .class-nth {
	    border: none;
	    border-radius: 50%;
	    background-color: #FF5341;
	    color: #fff;
	    width: 25px;
	    height: 25px;
	    line-height: 25px;
	  }
}    

.suggest {
  width: calc(100% - (100px));
  width: -webkit-calc(100% - (100px));
  position: absolute;
  background: white;
  margin-left: 70px;
  border: 1px solid #ddd;
  top: 47px;
  left: 14px;
  border-radius: 0 0 2px 2px;
  z-index: 999; 
  li {
    padding: 6px 10px;
    font-size: 18px;
    border-bottom: 1px dashed #ddd;
    box-sizing: border-box;
    color: #2c3e50; 
  }
  li:first-child {
    font-size: 14px;
    color: #9A9A9A; }
  li:last-child { border-bottom: none; }
}

footer {
  font-size: 12px;
  text-align: center;
  color: #2c3e50;
  padding-bottom: 10px; 
}

#loadbar {
  position: relative; }

.loadbar {
  position: absolute;
  height: 2px;
  background-color: #295162;
  top: -1px;
  transition: width 0.5s ease-in 0s;
  -webkit-transition: width 0.5s ease-in 0s;
  -ms-transition: width 0.5s ease-in 0s; }

.loadbar-hide {
  animation: loadbar-hide 0.4s linear 0.8s 1 normal forwards;
  -webkit-animation: loadbar-hide 0.4s linear 0.8s 1 normal forwards; }

@keyframes loadbar-hide {
  from {
    opacity: 1.0; }
  to {
    opacity: 0.0; } }

@-webkit-keyframes loadbar-hide {
  from {
    opacity: 1.0; }
  to {
    opacity: 0.0; } }

.defaultinfo {
  padding: 80px 30px 210px;
  text-align: center;
  font-size: 18px;
  color: #2c3e50;
  line-height: 1.62em; }

.scrollto {
  text-align: center;
  border-bottom: 1px solid #ddd;
  font-size: 14px;
  padding: 6px 0; }

.table{
	text-align: center;	
	background: #d8fbff;
	width: 100%;
	color: #929499;
	border: solid #ccf0ff;
	margin: 0px 0px 5px 0px;
	border-width:1px 0px 1px 0px;
	tr td:nth-child(1){
		width: 10%;}
	thead tr td{
		height: 40px;}
	tr td{
		width: 18%;
		height: 70px;
		border:solid #ccf0ff;
		border-width:0px 1px 1px 0px;}
	tbody tr td:nth-child(2) span, tbody tr td:nth-child(3) span, tbody tr td:nth-child(4) span, tbody tr td:nth-child(5) span, tbody tr td:nth-child(6) span{
		width: 95%;
		margin: auto;
		border-radius: 8px;
		display: block;
		color: #ffffff;
		height: 100%;
		padding-top: 20px;
		overflow: hidden;}
	tbody tr td:nth-child(2) span{background: #a2c8f4;}
	tbody tr td:nth-child(3) span{background: #FADB98;}
	tbody tr td:nth-child(4) span{background: #acdb9c;}
	tbody tr td:nth-child(5) span{background: #f7c5c5;}
	tbody tr td:nth-child(6) span{background: #a2c8f4;}
}	